<template>
  <div>
    <p>{{ msg }}</p>

    <p>{{ count }}</p>
    <p>{{ cnt }}</p>

    <button @click="increase">count++</button>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
let props = defineProps({
  msg: String,
  count: Number,
})
let cnt = ref(props.count)
function increase() {
  cnt.value++
}
</script>
